<%@ page contentType="text/html;charset=utf-8" %>
<html>
<body>
<form name="form"  method="post"action="success.jsp">

<%
 request.setCharacterEncoding("utf-8");
response.setCharacterEncoding("utf-8");


 
String fruit[] =request.getParameterValues("checkbox");
for(int i=0;i<fruit.length;i++){
	
out.println(fruit[i]);

	}




%>
<input type="submit" name="b" value="提交">

</form>

</body>
</html>

